﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Message from <?php echo $shopName; ?></title>	
<style type="text/css" media="screen">
body,td,p,b,span {font-family:Arial,Helvetica, sans-serif;; font-size:12px; }
</style>
</head>

<body style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #222;">
	<div style="width: 500px;">
		<a href="<?php echo $shopurl; ?>"><img src="<?php echo $shoplog; ?>" alt="<?php echo $shopName; ?>" title="<?php echo $shopName; ?>" border="0" /></a><br /><br />
		
	    <?php echo $firstname; ?><?php echo $lastname; ?>, 谢谢您的订购!
		
		<h1 style="font-size: 13px;color:#ffffff; background:#DB3484;padding:5px 0 5px 8px;">订单详情</h1>
		
		<p>
			订购: <b  style="color:#DB3484;"><?php echo $order_name; ?></b> 于 <?php echo $strDate; ?><br />
			付款方式: <b><?php echo $payment; ?></b><br />
		</p>
		<table style="width:100%; font-size:12px; color:#374953;">
			<tr style="background-color:#B9BABE; text-align:center;">
				<td style="width:15%; padding: 0.6em 0;"><b>产品类别</b></td>
				<td style="padding: 0.6em 0;"><b>商品</b></td>
				<td style="width:15%; padding: 0.6em 0;"><b>单价</b></td>
				<td style="width:15%; padding: 0.6em 0;"><b>数量</b></td>
				<th style="width:15%; padding: 0.6em 0;">包装</th>
				<td style="width:20%; padding: 0.6em 0;"><b>总价</b></td>
			</tr>
			<?php echo $tbl_products; ?>
			<tr style="background-color:#B9BABE;"><td colspan="4" align="right">商品总额：</td><td align="right"> <?php echo $total_products; ?></td></tr>
			<tr style="background-color:#DDE2E6;"><td colspan="4" align="right">运费：</td> <td align="right"><?php echo $total_shipping; ?></td></tr>
			<tr style="background-color:#F1AECF;"><td colspan="4" align="right"><b>合计：</b></td><td colspan="3" align="right"> <?php echo $total_paid; ?></td></tr>
		</table><br />
		
		<table style="width:100%; color:#374953;">
			<tr style="background-color:#B9BABE;">
				<td><b>接收地址</b></td>
				<td><b>单据地址</b></td>
			</tr>
			<tr>
				<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">
					<span style="color:#DB3484; font-weight:bold;"><?php echo $delivery_firstname; ?> <?php echo $delivery_lastname; ?></span><br />
					<?php echo $delivery_address1; ?><br />
					<?php echo $delivery_address2; ?><br />
					<?php echo $delivery_postal_code; ?> <?php echo $delivery_city; ?><br />
					<?php echo $delivery_country; ?> <?php echo $delivery_state; ?><br />
					<?php echo $delivery_phone; ?>
				</td>
				<td style="padding:0.5em 0 0.5em 0.5em; background-color:#EBECEE;">
					<span style="color:#DB3484; font-weight:bold;"><?php echo $invoice_firstname; ?> <?php echo $invoice_lastname; ?></span><br />
					<?php echo $invoice_address1; ?><br />
					<?php echo $invoice_address2; ?><br />
					<?php echo $invoice_postal_code; ?> <?php echo $invoice_city; ?><br />
					<?php echo $invoice_country; ?><br />
					<?php echo $invoice_phone; ?><br />
				</td>
			</tr>
		</table><br />
		
		想要下载此单据又或是进行查看，请打开我们的网页然后去到<a href="<?php echo $shopurl; ?>my-account.php" style="color:#DB3484; font-weight:bold; text-decoration:none;">"我的账户"</a>-<a href="<?php echo $shopurl; ?>history.php" style="color:#DB3484; font-weight:bold; text-decoration:none;">"订购记录"</a>。
<br />
<br />
<b>谢谢光临 <?php echo $shopName; ?>.</b><br />
		
		<div style="margin-top: 10px;padding-top: 5px;border-top: 1px solid #666;text-align: center;font-size: 11px;"><a href="<?php echo $shopurl; ?>" style="color:#DB3484; font-weight:bold;"><?php echo $shopName; ?></a></div>
	</div>
</body>
</html>